import { Theme } from "./type";
//处理主题配置
export const dealTheme = (theme: Theme) => {
    let newTheme: Theme = {};
    for (let i in theme) {
        newTheme[`--${i}`] = theme[i];
    }
    return newTheme
}